// 图书接口
import Mock from 'mockjs';

let search = Mock.mock([{
    "id": Mock.Random.increment(),
    "title": "VC++深入详解（第3版）",
    "author": "孙鑫",
    "price": "168.0",
    "discount": "0.95",
    "imgUrl": "http://ceshi.com/1.jpg",
    "bookConcern": "电子工业出版",
    "publishDate": "2021-06-01",
    "inventory": "1000",
    "detail": "……",
    "newness": true,
    "hot": true,
    "specialOffer": false,
    "slogan": "上的建档立卡什么都没说劳动力数量看到你",
    "brief": null,
    "category": {}
}, {
    "id": Mock.Random.increment(),
    "title": "VC++深入详解（第3版）",
    "author": "孙鑫",
    "price": "168.0",
    "discount": "0.95",
    "imgUrl": "http://ceshi.com/1.jpg",
    "bookConcern": "电子工业出版",
    "publishDate": "2021-06-01",
    "inventory": "1000",
    "detail": "……",
    "newness": true,
    "hot": true,
    "specialOffer": false,
    "slogan": "上的建档立卡什么都没说劳动力数量看到你",
    "brief": null,
    "category": {}
}]);

let Search = {
    search
}

export default Search